package top.kwanghuee.shop.order.service.impl;

import top.kwanghuee.domain.Product;
import top.kwanghuee.shop.service.ProductService;

/**
 * @author: kwanghuee
 * @date: 2020/9/12 11:32
 */
public class ProductServiceMock implements ProductService {
    @Override
    public Product findByPid(Integer pid) {
        Product product = new Product();
        product.setPid(-1);
        product.setPname("服务降级备用方法");
        product.setPprice("-1");
        product.setStock(-1);
        return product;
    }
}
